package com.sys.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Car {
    //车辆属性
    private Integer carId;//ID
    private String carPlate;//车牌号
    private String ownerName;//车主姓名
    private String carType;//车型
    private Integer carState;//车辆状态
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inTime;//入库时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date outTime;//出库时间
    private BigDecimal parkFee; //缴费
    private Integer parkId;//停车场ID
    private String carAvatar;//车辆图片信息

}
